<template>
<!--  底部导航-->
    <div>
        <NavBar/>
    </div>

    <div>
<!-- 顶部导航     -->
            <van-nav-bar
                title="动态"
                left-text="返回"
                right-text="发布动态"
                left-arrow
                right-arrow
                @click-left="onClickLeft"
                @click-right="Issue"
            />
<!--        <p>-->
<!--          <span> </span>-->
<!--          <span>视频</span>-->
<!--          <span>综合</span>-->
<!--          <span class="addDynamic" @click="Issue">-->
<!--            <van-icon name="plus" size="25px" style="margin-top: 10px"/>-->
<!--          </span>-->
<!--        </p>-->
        <van-notice-bar scrollable text="发自灵魂深处的思考。" />

    </div>
</template>

<script>
    import NavBar from "../components/NavBar";
    import { Toast } from 'vant';
    import Issue from "./Issue";
    export default {
        name: "dynamic",//动态
        components:{
            NavBar
        },
      data() {
        return {
          isLoading: false,
          loading: false,
          finished: false,
          msg:"发布",
        };
      },
      methods: {
        onClickLeft() {
          Toast('返回');
        },
        Issue() {
          this.$router.push("Issue");
        },
      },
    }
</script>

<style scoped>
  *{
    margin: 0;
  }
  p{
    display: block;
    background-color: #eaeaea;
    line-height: 40px;
  }
  span{
    margin-left: 60px;
  }

</style>